<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use \think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP5!';
});
Route::get('hello/:name', 'index/hello');
Route::get('index/checknow', function () {
    return 'hello,ThinkPHP5!';
});



//检测接口
Route::group('pipeline',function(){
    Route::post('checkbusiness','api/Check/getbusiness');//获取业务管道设备信息
    Route::post('addpipe','api/Check/insertpipe');//添加管道信息
    Route::post('upcheck','api/Check/upcheck');//添加业务检测点
    Route::post('changecheck','api/Check/changepoint');//修改检测点信息
    Route::post('insertcheck','api/Check/insertpoint');//插入检测点信息
    Route::post('delcheck','api/Check/delpoint');//删除监测点信息
    Route::post('gpstopoint','api/Check/gpstopoint');//WGS转百度地图坐标点
    Route::post('getrowpoint','api/Check/getrowpoint');//根据业务管道公司信息获取单个管道得所有业务点
    Route::post('upmeasuringpoint','api/Check/upmeasuringpoint');//上传管段测点信息(GPS检测点下的测点)
    Route::post('getmeasuringpoint','api/Check/getmeasuringpoint');//获取管段测点信息(GPS检测点下的测点)
//    Route::post('offbusiness','api/Check/offbusiness');//结束当前业务
});

return [

];
